<%= error_messages_for 'site' %>

<!--[form:site]-->
<label for="site_name">名称</label>
<%= text_field 'site', 'name'  %><br/>

<label for="site_home_page">主页</label>
<%= text_field 'site', 'home_page'  %><br/>

<label for="site_url_pattern">URL模式</label>
<%= text_field 'site', 'url_pattern'  %><br/>

<label for="site_image">Fav Icon</label>
<%= text_field 'site', 'image'  %><br/>

<label for="site_approved">验证?</label>
<%= check_box 'site', 'approved' %><br>

<label for="is_im">IM？</label>
<%= check_box 'site', 'is_im' %><br>
<!--[eoform:site]-->

